package com.pororo.smartoff;

import android.app.admin.DeviceAdminReceiver;
import android.content.Context;
import android.content.Intent;

public class SmartOffAdmin extends DeviceAdminReceiver {
	final static String TAG = "SmartOffAdmin";

	@Override
	public void onDisabled(Context context, Intent intent) {
		SmartOffPreferences.setPreferences(context);
		SmartOffPreferences.setBoolean("ServiceStatus", false);
		Intent stopIntent = new Intent(context, SmartOffRegisterService.class);
		context.stopService(stopIntent);
	}

	
}
